package com.ffcs.web.model.entity;
// default package

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * YuyueTemp entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "wechat_yuyue_temp")
public class YuyueTemp implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer userId;
	private String counseTel;
	private String counseType;
	private String bookTime;
	private String buyTime;
	private String question;
	private String type;

	// Constructors

	/** default constructor */
	public YuyueTemp() {
	}

	/** full constructor */
	public YuyueTemp(String counseTel, String counseType, String bookTime,
			String buyTime, String total) {
		this.counseTel = counseTel;
		this.counseType = counseType;
		this.bookTime = bookTime;
		this.buyTime = buyTime;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "counseTel", nullable = false, length = 20)
	public String getCounseTel() {
		return this.counseTel;
	}

	public void setCounseTel(String counseTel) {
		this.counseTel = counseTel;
	}

	@Column(name = "counseType", nullable = false, length = 10)
	public String getCounseType() {
		return this.counseType;
	}

	public void setCounseType(String counseType) {
		this.counseType = counseType;
	}

	@Column(name = "bookTime", nullable = false, length = 30)
	public String getBookTime() {
		return this.bookTime;
	}

	public void setBookTime(String bookTime) {
		this.bookTime = bookTime;
	}

	@Column(name = "buyTime", nullable = false, length = 10)
	public String getBuyTime() {
		return this.buyTime;
	}

	public void setBuyTime(String buyTime) {
		this.buyTime = buyTime;
	}

	@Column(name = "userId", nullable = false)
	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	@Column(name = "question", nullable = false, length = 1000)
	public String getQuestion() {
		return question;
	}

	public void setQuestion(String question) {
		this.question = question;
	}

	@Column(name = "type", nullable = false, length = 2)
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
}